removed the koffset command
replaced error log statements with exceptions
clarification of the decoder and the decoded message