Fix minor typos + trailing whitespace

Nothing major... Just a few things I spotted. :)