Attach nemail_notifier script only to main window
Fix so message list and counters are updated when a message is opened in new window (#1489919)
Fixed set_unread_message() in multifolder mode