Minor Fixes

Whitespace fixes and eof normalisation.