Corrected minor spelling mistakes.

Just fixed some minor spelling mistakes, and trailing spaces get pulled out by my editor.