Few minor fixes with no real focus.
Big cleanup of encoding/decoding of strings/comments.
Fixed bin/dk-fixup-stderr.