moved gui out of walletdb