Minor cleanups tb_thread_spawner