private void saveAsFile() {
		JFileChooser chooser = new JFileChooser();
		int choice = chooser.showSaveDialog(null);
		if (choice == JFileChooser.APPROVE_OPTION) {
			try {
				ImageIO.write(MainImagePanel.getInstance().getCombined(), "png", chooser.getSelectedFile());
				currentFile = chooser.getSelectedFile();
			} catch (IOException e) {
				System.out.println("Error saving.");
			}
		}
	}