public void quit() {
		int save = JOptionPane.showConfirmDialog(this, "Do you want to save the changes to this project?", "Close", JOptionPane.YES_NO_CANCEL_OPTION);
		
		switch(save) {
			case 0 : boolean exit = fileOps.saveChanges();
					  if(exit) break;
					  else return;
			case 1 : dispose(); break;
			case 2 : return;
			case -1 : return;
			default : System.out.println("WHUH-OH!! Mistake in closing window!");
		}
		
		fileOps.saveInitFile();
		
		System.exit(0);
	}