Exit with an error if the GUI fails to come up correctly.