Merge pull request #252 from einhverfr/master

Assemblies fixes
Merge pull request #254 from einhverfr/master

correcting db error handling
Merge pull request #56 from ledgersmb/master

up to date