Whitespace fixes throughout the application

Removing tabs, trailing space and the like.