Spelling fixes

Here are some spelling fixes for the documentation (and 2 error messages). These were only done with a spell checker so I might not have got everything.