UNIX newlines and whitespace fixes
Fixing some minor compiler warnings