Did some basic glfw stuff. Mainly taken from tutorial.