 
     mouseCoords = @getEventOffset e
 
-    console.log 'PROPS.ANNOTATION: ', @props.annotation
+    # DEBUG CODE
+    # console.log 'PROPS.ANNOTATION: ', @props.annotation
 
     if markIsComplete
       toolDescription = taskDescription.tools[@props.annotation._toolIndex]

    # console.log 'SUBJECT: ', @state.subject
    viewBox = [0, 0, @state.imageWidth, @state.imageHeight]
    ToolComponent = @state.tool
    console.log "Rendering #{if @props.active then 'active' else 'inactive'} subj viewer"

    scale = @getScale()


        tool: @props.annotation._toolIndex
      if toolDescription.details?
        mark.details = for detailTaskDescription in toolDescription.details
          # DEBUG CODE
          #console.log "!taskTacking", tasks[detailTaskDescription.type]
          tasks[detailTaskDescription.type].getDefaultAnnotation()

    @props.annotation.value.push mark
    @selectMark @props.annotation, mark

    MarkComponent = markingTools[toolDescription.type]

    if MarkComponent.defaultValues?
      defaultValues = MarkComponent.defaultValues mouseCoords
      for key, value of defaultValues
        mark[key] = value

    if MarkComponent.initStart?
      initValues = MarkComponent.initStart mouseCoords, mark, e
