Better support for local storage with passphrase disabled.

1) Never get into a state where messages aren't displayed
   unencrypted.

2) Fix bug where locked DB required launching twice.