Refactored GLContext code out of the MainForm and into GLContext.cs