Save and Load functions finished

Both saving and loading now work, at least tested in Chrome; should work
in all browsers that support localStorage. And if they don't support
localStorage, then I cry myself to sleep.