fixed Logger, improved error handling, updated for gdsn module changes