language changes: spawn is now Thread::spawn.