plugin, regular_board, _board_loop,...

(1) Minor errors cleaned up.  (2) isset added to gets (3) missing
variables removed