db fixes.  settings now persist in indigo plugin.