made fixes to KText
fixed repeated rendering
merging stash