Clean up histogram

Also, a temporary fix to the subarray range issue is hiding in here
Experimenting with the contrast GUI
Merge branch 'master' into rsr/contrast
Merge branch 'master' into rsr/contrast
Satisfied with layout
Set slider value properly (for int sliders)
Entries set sliders and rescales the contrast on the image

Now for the sliders to trigger an update of the image...
Sliders now control image contrast (live)
Cleanup

Make the bindings similar
Merge branch 'rsr/contrast'