the messages thread now behaves properly in the ui.