Updated OpenGL references, removed glBegin calls