Some small improvements to the team AI.