Removed some excess code from ErrorGUI