new logic seems to be working
Switched to GLFW