Minor edit

Print cline for debugging purposes
Added wd arg to getThreads

Else, did not search folder for .threads.p — leading to default to 1