One thing I try to avoid when I'm writing is when two words repeat. Kind of like your example "the thing is is that." If I catch myself writing it, I try to rearrange the sentence.
Although a pretty extreme example tickles me:
"The cookie he had had had had no effect on his appetite."