lots of changes, get errorbars on histograms