reduce memory usage, tweak graphs, compute 10 bucket histograms

Lots of hacking in this commit.

Added more fields to LatData and fixed a couple.

Added barcharts - probably going to stack, will fix in later commits.

Updated scatterplots to be a little easier to see, except for the mess
that is the legend.

A few misc other things.