Gigantic update. All is broken except opengl on win32