replaced glfwGetTime with a function from windowManager, that calls glfwGetTime anyway.