added menu for changing the grid size (+ dialog if loss of data is
wanted)