Another set of fixes for the AIPlayer.