Fix some typos, trailing spaces and wrong copy-paste in comments

Since I am studying the code and found some typos, here is my modest contribution.
whitespace-mode and are useful for Emacs. :-)
also (setq show-trailing-whitespace t)