Give names to all threads.

Fixes #9