Plot flag, variable ymax, better names for different weighted backgrounds, write histograms to file, draw log normalized plots.