improvements in interface of histogram tool.