Closes #6 - user state of buttons on embedded commands is now saved.  Some cleanup while in here.
API - fixed an issue created in the recent renaming - authenticated user information is now universally stored globally and not passed as args.
updated ddl
For #6 - updatedb.py script will now clean out old format data.
Actually did fix updatedb.py for #6 this time.