Fix typos and thinkos reported by Sun Ming (and one reported by John).