Refactored out some time code.
Added gridlines to histogram.