fixed a few more errors that came up
line endings standard so VS would stop yelling