Refactoring of sources tab: removed listeners from histogram data store to make data and control flow more obvious