cleanup GL and rename GL.isImmediateMode() to GL.isLegacy()
Minor cleanup of the GL
made a graphics package