Fix a bunch of typos

So I searched and fixed a bunch of typos spotted by aspell. Most of them are in comments and only the change for `separated` affected few variable names.
I cut each typo fix in one separate commit, I hope it is okay for you.