show unread items in header and some other optimazions