Wallet Editor Error handling changes

Put some error handling around the wallet save function.