Basic OpenGL media/graphics library attempt