Minor changes that fixed chooseMove().