I assume that you have ruled out that the brown color wasn't mixed thoroughly? My other guess would be that the butter/or oil is seeping through the icing and discoloring it.
Regarding the chalk coloring, I didn't notice the writing was the wrong color until you pointed it out. I bet her teachers won't notice either.