kinda working on the ubuntu box..
switches to the 3 threads..
does not end the program properly.