Merge pull request #43 from JeromeLefebvre/master

Improving the AI system fixes 42
various improvements to the AI functionality