CS fixes
Merge pull request #1 from GrahamCampbell/cs-fixes

Make sure eof has a new line.