Detect group radius for avoidance automatically. Also estimate a height for each group so that the Y axis is also calculated when avoiding (allows groups at same X and Z locations when one is at ground level and another underground).

Also split some functions, including detection of unloaded areas.