       taskId: taskId
     dummy = new THREE.Object3D
     @taskId2dummyChunks[taskId] = dummy
-    return [dummy, taskId]
+    return dummy
     
   _receiveChunk: (blueprint, taskId)->
     chunk = @taskId2dummyChunks[taskId]


  controls.keys = [ 65, 83, 68 ]

  #controls.addEventListener 'change', render

  #curves = new ChunkedFlyingCurves
  curves = new WorkerFlyingCurves visibilityDistance, -0.5*visibilityDistance
  
  lines = new THREE.Object3D

  E("select-pattern").addEventListener "change", (e)->
    if (rle=E("select-pattern").value)
      curves.loadFDL rle
      E("custom-rle").value = rle
      hidePatternsWindow()

initLibrary = ->
