All territories added via client's addUI. Major refactoring.