Made a bit of a breakthrough

I figured out what was going on with the board, but now have a new issue
to deal with.  It makes a couple of moves ~= 10ish then thinks it's a
stalemate. Probably just not updating something correctly.