BufferTreeView: handle unread message counts