remove dependancy on glfw