kstring printf improvements

Commits speak for themselves.