Refactored window class and GLFW/GLEW setup.