Emergence and control of macro-spatial structures in perturbed cellular automata, and implications for pervasive computing systems