remove duplicated lock in thread handler
solve VM name messy code issue by adding smp_stat.vmn[] initalization code