Added removal of items from listwidgets on every start. Started implementing histogram builder. Mild refactoring.