public void done(){
			if(!doBoards)
				gui.prog.updateCurrentMoves(currentStep);
			if(doGraph)
				gui.graph.setCurrentMoves(currentStep);
			if(doGraph) gui.drawUI(ApfelGUI.GRAPH);
			if(doOutFiles) {
				pw1.close();
				pw2.close();
			}
			if(!doGraph){
				if(doBoards) gui.pitch.addRestartButton();
				else gui.prog.addRestartButton();
			}
		}