Fixed some AIPlayer errors.