           continueFrom: []
           pause: () ->
             @onPause.set true
+            @state.set "paused"
           continue: () ->
             @onPause.set false
+            @state.set "active"
             func.call null for func in @continueFrom
             @continueFrom = []
           toggle: () ->

          console.timeEnd('insert') if self.debug
          window.removeEventListener "beforeunload", beforeunload, false
          result.progress.set 0
          onUploaded and onUploaded.call self, error, data

        if onBeforeUpload and _.isFunction onBeforeUpload

            window.removeEventListener "beforeunload", beforeunload, false
            onAbort and onAbort.call file, fileData
            @pause()
            @state.set "aborted"
            Meteor.call self.methodNames.MeteorFileAbort, randFileName, streams, file
            delete upload
          state: new ReactiveVar "active"

        result.progress.set = _.throttle result.progress.set, 250

