Database throws exception now when it can't be initialized.
Fix for saving incoming message
Fix encryption<->decryption confusion for incoming messages