Add localStorage to save/restore game state. Fixes #6