Basic OpenGL infrastructure with input in place.