improved settings dialog
(create a new board only when board width or height have been changed)