Changes in GUI and Histogram
Calculating statistics divided into Threads