AI

* probably fixed a halt while ship-picking by AI
* added basic ability of retreat for AI