add thread, and log_d.  Gtalk work well.