Add desktop notifications for chat messages.
Fix bug with timeout reset on refresh.