Various changes required for first crack at SQLite3Wallet.