rpc problems.
modifications to wallet
rpc fixes
rpc update