Multithreading, command-line program complete