   # Goes through the queue and processes files if there aren't too many already.
   processQueue: ->
     parallelUploads = @options.parallelUploads
-    processingLength = @files.processing.length
+    processingLength = @filesProcessing.length
     i = processingLength
 
     while i < parallelUploads
-      return  unless @files.queue.length # Nothing left to process
-      @processFile @files.queue.shift()
+      return  unless @filesQueue.length # Nothing left to process
+      @processFile @filesQueue.shift()
       i++
 
 
   # Loads the file, then calls finishedLoading()
   processFile: (file) ->
-    @files.processing.push file
+    @filesProcessing.push file
     file.processing = yes
 
     @emit "processingfile", file

      if error
        @errorProcessing file, error
      else
        @files.queue.push file
        @processQueue()

  # Can be called by the user to remove a file



    @files = [] # All files
    @filesQueue = [] # The files that still have to be processed
    @filesProcessing = [] # The files currently processed
    @URL = window.URL ? window.webkitURL
    @setupEventListeners()

