log gl errors if there was an error, to ORE_IMPORTANT and do fatal things