OK, I think I've found the source of the ai stripping problem (maybe)
The everyone-loses-targeting is a bit more mysterious, I've implemented a special debugging mode to investigate this further - hopefully will have results in the next few days.
EDIT: I've also finally built in a PvP simulation mode so I can do a bit more debugging.
At least the ally positioning is an easy fix
dave