     asteroidTool:
       enter: ->
         console.log "STATE: \'asteroidTool/enter\'"
-
         @activateFrame 0
-
-        
         # create new asteroid
         @currAsteroid = new Asteroid
-
         @enableMarkingSurfaces()
-
         @el.find('.asteroid-classifier').show()
 
       exit: ->

  onChangeFrameSlider: =>
    frame = document.getElementById('frame-slider').value
    @activateFrame(frame)

  onUserChange: (e, user) =>
    Subject.next() unless @classification?


    # set "asteroid-frame-complete" checkmarks

  onClickAsteroidDone: ->
    console.log @currAsteroid
    @currAsteroid.addMarks(@marks)
    @currAsteroid.displaySummary() 
    @asteroids.push @currAsteroid
    @marks = []

    # reset checkboxes and radio buttons
    @asteroidMarkedInFrame = []
    for i in [1..@numFrames]
      @el.find(".asteroid-frame-complete-#{i}").attr 'checked', false

    # reset state for next asteroid
    @setState 'whatKind'

  onClickNextFrame: ->
    return if @currFrameIdx is 3
