I think I can see some of the problem, and it is to do with the RichAI.isStopped flag. If it is set to true, the RichAI agent doesn't move, however if it is not true, the AStarAIAgentMovement will not start because of this code:
if (m_IAstarAIAgent.isStopped) {...