Incorporated use of wglSwapIntervalEXT for handling VSync on Windows