added dev/sample_histogram
more histogramupdates
added separate red/blue color
more histogram updates