private void addToImageBuffer(Image image) {
		if (curImageIndex < imageBuffer.size() - 1) {
			int last = imageBuffer.size() - 1;
			for (int i = curImageIndex + 1; i <= last; i++) {
				imageBuffer.remove(imageBuffer.size() - 1);
				messageBuffer.remove(messageBuffer.size() - 1);
			}
		}
		if (imageBuffer.size() >= IMAGE_SIZE_LIMIT) {
			imageBuffer.remove(0);
			messageBuffer.remove(0);
		}
		imageBuffer.add(image);
		messageBuffer.add(infoBar.getText());
		curImageIndex++;
	}