   config:
     debug: true
     output: "mbtiles"
-
     maxZoom: 14
-    copyAboveZoom: null
 
   queueSize: 64
 

    @_loadTile z, x, y
    .then (buffer) => @_unzipIfNeeded original = buffer
    .then (buffer) => @_decodeTile buffer
    .then (tile) => @_callback tile
    .then (tile) => @_encodeTile tile
    .then (buffer) => @_gzip buffer
    .then (buffer) =>
      @_trackStats z, x, y, original, buffer
      @_storeTile z, x, y, buffer

  _callback: (tile) ->
    @callback tile
    tile

  _storeTile: (z, x, y, buffer) ->

          stream.pause()
          paused = true

        @_processTile z, x, y
        .finally =>
          queueSpots++
          if paused and queueSpots > 0
            stream.resume()
