CS fixes

* Newline at eof
* All tabs to spaces
* Trimmed all traiting whitspace