add preliminary median compositor, some more histogram reporting