Various fixes to allow for compiling and running in Windows. Added nice macros to change rendering modes in Renderer.h