moved run_thread to Queue instead of IPC stream
Merge branch 'queue' into develop