Added unload methods for wallet db and call to unload in ~CWallet().