Clean up whitespace

- tabs to spaces
- strip trailing whitespace
- removed redundant comments