Migrated from FreeGLUT to GLFW3