fix wallet corruption bug
Merge branch 'titan' of github.com:BitShares/bitshares_toolkit into titan