Replaced entire glut functionality with sdl