Minor changes to desktop notification support.

- Applied backbone getters
- Moved code into function driven by new messageNotification event
- === instead of ==