Remove Gen_map_from_str from window class
change AddVmWindow access