Fixing gulp debug mode
 Ensuring message bar is only displayed when there is unread messages.