Debug shader and suppress crash on quit