Preliminary code for local storage.

Maybe serializing the entire dataset on save is not the best way to
do this. Alternatives include generating a unique ID for each thing?
Possibly by URL.