performance improvements and persisting of unread items