LocalStorage Keypress save and autosave fix

Fixes #168 and #179

Doesn't support save context in relation to plugins, manual saves specific to the plugin have to be executed in order to save to, for example, github or dropbox etc...