       popupLoader = $ '#loadDiv', popup.document
       popupLoader.queue ->
         popupLoader.hide().dequeue()
+        popupLoader.find('.progress .bar').css 'width', '0px'
       popupItems.queue ->
         popupItems.show().dequeue()
 

  popup         = chrome.extension.getViews(type: 'popup')[0]
  popupItems    = if popup then $ '#item',    popup.document else $()
  popupLoader   = if popup then $ '#loadDiv', popup.document else $()
  popupProgress = popupLoader.find '.progress'
  shortenMap    = {}
  tab           = null
  template      = null
  windowId      = null
  # Update the progress bar to display the specified `percent`.
  updateProgress = (percent) ->
    if percent?
      popupProgress.removeClass('progress-striped').find('.bar').css 'width',
        "#{percent}%"
    else
      popupProgress.addClass 'progress-striped'
  # Create a runner to manage this asynchronous mess.
  runner = new utils.Runner()
  runner.push chrome.windows, 'getCurrent', (win) ->

        else
          popupLoader.queue ->
            popupLoader.hide().dequeue()
            popupProgress.css 'width', '0px'
          popupItems.queue ->
            popupItems.show().dequeue()
    log.debug "Finished handling #{type} request"
