Improve plotted histograms in Terminate (Diego)