docs: public synchronized void save() {
  		if( bestImage != null ) {
  			File path = new File(outputDirectory, String.format("image%04d.png",imageNumber));
  			UtilImageIO.saveImage(bestImage,path.getAbsolutePath());
  			imageNumber++;
  		}
  		clearHistory();
  	}