database key formatted in hex instead of dec, saves 0.5% db size
Changed duc context handling for more conistent error reporting