log histograms and better layout