added multithreading, prob 2 and icon