Fixes related to comments on previous commit
Fixes db issues, no upgrade scripts yet
Fixing calls to MM.db
Merge branch 'FIX-MOBILE-468' into release_candidate

Conflicts:
	lib/mm.js
Merge fixes - navigation working again
Fixes settings not being recalled on refresh
Plugins deal with their own panels