gl cleanup; use gl qsettings