initialize threads property to an array for text action
check for empty text message
Merge pull request #314 from scrollback/bug-fixes

Bug fixes
Merge branch 'master' into scroll-to-bottom
improved scroll to bottom button