Wrote some OpenGL to keep the screen from blinking annoyingly.