slight reorganization and catch all exceptions
Merge branch 'master' of github.com:by321ps/myppcoin