minor changes.

fixing some typos and trailing spaces.
Merge pull request #1 from jubalh/master

minor changes.