Changes to notifications

- don't show a notification if the client has focus
- page title notifications now alternate every 1.5 seconds rather than
  every 0.5 seconds