tweet truncation logic improved/cleaned; connection initiation logic improved