Started adding OpenGL setup & error handling.