delete glcontext on quit