Add basic support for moving threads.

Exactly What It Says On The Tin.