AE: Add a BasePlot class so that some common functions can be moved out of main
AE: Add a BasePlot for the run plots in main()
AE: Move the setting of log scales into BasePlot
AE: Move the saving and drawing of plots to BasePlot. Also make sure that we can use these with TrendPlot
AE: Move setting the stats box to BasePlot
AE: Now auto zoom the histograms in BasePlot and TrendPlot. Also make sure the stats box actually works
AE: Move setting explicit axis limits to BasePlot
AE: Remave all uses of TH1s in main.cpp
AE: Now have recursive histogram plotting. Unfortunately, I had to make a lot of variables global which hopefully won't bite us later