Improved the AI to fix a concurrency issue. It now crashes when it hits a pawn promotion case, which will be interesting to fix.