Changed MainTreeModel to use GuiException
Updated to use application exceptions