Fixed some misspellings, part of code review, see #29.  These had been brought over from the Java sim.