Fixed some minor stuff but SDL is still a bit broken, switching to GLFW on this branch only.