Rewrote graphics to batch sprite drawing using Vertex Arrays/VBOs.