nodeListeners.clear(); nodePanes.clear();
  private void trialFinished() {    trialTimer.stop();    Collection c = nodeListeners.values();    for (Iterator i = c.iterator(); i.hasNext(); )      ((ConsoleNodeListener)i.next()).closeLogFile();    saveResults();    nodeListeners.clear();    nodePanes.clear();    updateExperimentControls(experiment, false);  }