remove old opengl graphics code.