Shave a couple of lines.
I probably did this for perf reasons, but it most likely doesn't make much of a difference.
Always give integers for thread IDs.