Get thread procs working