fixed another gui load state bug for general. also added error stuff  for txtdump

  fixed another gui load state bug for general. also added error stuff  for txtdump