Rewrite GLInterface

Remove Wayland support to clean up the code -- it's bitrotten and doesn't work anymore on my system.

Clean up a lot of our GL interfaces and rewrite MainNoGUI so that it's not an ifdef soup.