Shift OpenGL renderer into its own library.