Fix some typos

Found a few typos while I was taking a crack at fixing some bugs today, thought it might be nice to fix them and submit them upstream since the docs are generated from these comments.

I thought there were more, but looking back now, 2/3rds of these typos are in a test.