Added button to toggle the display of the grid on and off.