Code cleanup

Removed some whitespace at line endings and converted files from dos line endings to unix line endings.