Added second implementation of multithreading
Fixed bug with graphs when on entering the page the graphs where not updated