Adding ugly and silly "allow notifications" button for @bnvk to fix.
Moving from MailPile class to singleton Mailpile object.
Updating plugins to new singleton JS structure