Run the code for displaying messages in different threads.

Also fix a minor bug with chopping off the bottom of text messages.