Fixes double-click group selection.
Makes ranged units automatically flee when enemy too close.
Improves fleeing behavior.