Saving and loading!

Both saving and loading work for the grid, not yet for the loop buttons.