e8d4de6bec
Fixes a crash on exit if the user exited with the outputs running as the parent window will have already destroyed doUI.