Flesh out Thread a little more; add $*THREAD.

This provides support for giving threads names, getting a thread ID,
provides a sensible stringification and enables $*THREAD as a way to
get a Thread instance for the currently executing thread (including
making it work on the initial thread, so that isn't a special case).