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