Fixed AiAgent and some behaviours minor details.
Minimum changes trying to fix kinematic wander