Revert 'Do less work on the UI thread while rebuilding the messages table after backlog loads'
Use the correct mode and don't lose the hostmask when adding modes to a join/part/quit event