Various bug fixes relating to the AI, promotions, and the MoveNode class.