Changed Formating + Compiles on Linux!

Removed windows.h and cleaned up the code slightly.