Fix a few minor spelling issues

While I was tweaking some of this for my own purposes, I also fixed some spelling issues.  This seemed like a reasonable first pull request. :)