public void prevImage() {
		if (historyIndex > 0) {
			historyIndex--;
			imagePanel.updatePanel(history.get(historyIndex));
			imagePanel.update(imagePanel.getGraphics());
		} else {
			textArea.append("No images left!\n");
		}

	}