Rewrote exportkeys to include all addresses in use, esp. generating ones