Bug fixed and comments added

Bug : no purge of the clipboard after the confirmation of the grid;
player 2's 1st input was refused.

Added a few comments forgotten in the code.