fix multi threading problem with cache calculation + plotting at the same time.

the statistics have changed now: multiple counts can be correctly combined now, so all the data is there, minimum, maximum, mean, and standard deviation. technically, in section statistics, stddev is _pooled_ standard deviation (cf. http://en.wikipedia.org/wiki/Pooled_variance).