Fix bug where we were swapping blank tiles with each other
Fix really obscure bug.

If you swapped just as the cursor was being bumped up to the next line
because of a new row coming in, then it could try to generate swaps that
were illegal, and we were getting index out of bounds errors.
Inject randomness into the AI