jwz: create_thread from container
JWZ opt1, 2 complete except testing, edge-cases