Implement processEvents() and pollEvent() for GameGui_GLFW and re-implement the main loop in opengl-game using those functions