slightly less enums and some gl debug stuff