Fix bad grammar and typos in docstrings and comments.