attempted fix for crash
adding api call to regenerate keys
fix potential crash
Merge branch 'develop' into btsx

Conflicts:
	programs/qt_wallet
	programs/web_wallet