after uiQuit or if uiShouldQuit returns nonzero, uiQueueMain's effect is undefined