Fixed the Windows build

Converted tabs to spaces in various places and fixed a reference to OpenGL. Prior to the fix, the compiler complained about these two things.