Significant memory improvements - should allow for much larger maps on memory-constrained devices!

CPU performance improvements 

Solved rare automation crashes with escorted units