Win32 modification to get code to run, and performance increase for buffered gl3