0148: move global vars to CpManager, run separated setups in loadMap()