Fix a lot of typos according to code style.