Set up us the initial thread ID.