 
 # Initialize the persisted managed templates.
 initTemplates = ->
+  log.trace()
   initTemplates_update()
   store.modify 'templates', (templates) ->
     # Initialize all default templates to ensure their properties are as

          template: template
    ]
  runner.push null, callUrlShortener, shortenMap, (response) ->
    if response.success
      updateUrlShortenerUsage response.service.name, response.oauth
      # Request to the URL shortener service was successful so re-render the
      # output.
      runner.finish
        contents: Mustache.to_html output, shortenMap
        success:  yes
        template: template
    else
      # Aw man, something went wrong. Let the user down gently.
      response.message ?= i18n.get 'shortener_error', response.service.title
      runner.finish
        message:  response.message
        success:  no

# Also, ensure that `ext` is *reset* and that notifications are only displayed
# if the user has enabled the corresponding option (enabled by default).
showNotification = ->
  log.trace()
  if store.get 'notifications.enabled'
    webkitNotifications.createHTMLNotification(
      utils.url 'pages/notification.html'
