Remove trailing whitespace in files

Just a little cleanup here.

My vim configuration highlights trailing whitespace in red. So when looking at the source code, I noticed several places where this occurs.

This PR cleans up unnecessary, trailing whitespace characters in various files. Helps stick to common coding convention. Hope you find it useful!