tweaks for glfw