commit before changing to glfw
needed to compile with -pthread, that is retarded