Miscellaneous spelling corrections.

I've had a good look through the core files and made a number of spelling corrections.