Merge pull request #413 from TheBlueMatt/loadwalletret