Changed duc context handling for more conistent error reporting
Merge branch 'master' of github.com:zevv/duc