Solved minor problems. Carefull AgentNPC modified!