Don't try opening error dialogues from the GL thread.