         band = obj.band
         image = obj.image
         dataunit = image.getDataUnit()
-        console.log 'Creating texture for', band, dataunit.width, dataunit.height
         address = "TEXTURE#{@textureCount}"
         @gl.activeTexture(@gl[address])
 

  
  # Sets up everything except for textures
  setupWebGL: =>
    console.log 'setupWebGL'
    
    @canvas = WebGL.setupCanvas(@container, FITSViewer.viewportWidth, FITSViewer.viewportHeight)
    @gl     = WebGL.create3DContext(@canvas)

       
      # Compute statistics
      p1 = p1.pipe ([dataunit, band]) =>

       # Set up message to pass to worker
       msg =
