GUI now outputs better error messages when loading XML files.