Got multithreading to work!