The AI now makes a move, but sometimes it is invalid. Also, graphical glitch (player piece doesn't move while the AI is thinking.