DOS to Unix

Converted DOS formatting to Unix, also fixed some stuff that was windows
only.