AI Fixes

Fixed part of AI
PreAlpha 0.1.1