I'd put this function in ThreadListUI then