Fixes and logging.
Fixes and logging.

joshua-decoder/thrax,tdomhan/thrax,joshua-decoder/thrax,joshua-decoder/thrax,joshua-decoder/thrax,jweese/thrax,tdomhan/thrax,tdomhan/thrax,jweese/thrax,jweese/thrax