Nice one, badapple! This is really impressive, you could make a whole game out of it... Well, probably not, but it is nice!
And I think it will help clearing the, in my opinion, hardest part, namely a way to let the enemy decide which of HIS enemies to attack.