Fix typos in comments

I'm using this library for a project. I thought I'd upstream changes wherever it made sense. Starting off with this.