def dequeue
      torrents = @torrentQueue.dequeue(@torrentData.values)
      torrents.each do |torrentData|
        if torrentData.state == :initializing
          initTorrent torrentData
        else
          setFrozen torrentData, false if ! torrentData.paused
        end
      end
    end
def dequeue
      torrents = @torrentQueue.dequeue(@torrentData.values)
      torrents.each do |torrentData|
        if torrentData.state == :initializing
          initTorrent torrentData
        else
          setFrozen torrentData, false if ! torrentData.paused
        end
      end
    end
Dequeue any torrents that can now run based on available space