Set board_maxsize avec satic const.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
Implement undo.

Signed-off-by: Victor Berger <victor.berger@m4x.org>