Fixed HistogramEditor negative 'spacing' issue

Also made some tweaks to the HistogramEditor demo.