Moved NoThread to the BasicThread class.

Moved thread registration/unregistration to BasicThread's cancel and
start methods.