Fix a few typos

Pointed out by Rex and David Holmes the comments (too many to list
here).