Fixed decodeHex.

[FIXED]     Accidentally commited debug code causing constant asking for review.
[FIXED]     NULs when decoding hex.