Add backup to localStorage

Also fixed a bug creating the top-level backside during initialisation.
Removal of backside widgets recorded

So backup to local storage does not include backside widgets that have
been removed.

Also added more actions that cause backup.
Fixed a bug in maintaining backside_widgets

Was getting duplicates.