Updated to support the changes made with the release of Swift Beta 3
Ported GLWindowController to Swift