Added global flag for new messages