added new thread exit command
Merge branch 'zac'