 
     if @state == state_error
       @set_button_text('Try loading again')
+      show_action_button = true
 
     else if @state == state_grading
       @ml_error_info_container.html(@ml_error_info)
       @prompt_container.html(@prompt)
-      @prompt_name_container.html("#{@prompt_name} <span class='sub-heading'>(#{@num_left} left out of #{@num_total})</span>")
+      @prompt_name_container.html("#{@prompt_name} <span class='sub-heading'>(#{@num_graded} completed out of #{@num_total})</span>")
       @submission_container.html(@make_paragraphs(@submission))
       @rubric_container.html(@rubric)
 
       # no submit button until user picks grade.
       show_submit_button = false
+      show_action_button = false
 
       @setup_score_selection()
       
     else if @state == state_graded
       @set_button_text('Submit')
+      show_action_button = false
 
     else if @state == state_no_data
       @message_container.html(@message)

        @mock('get_next', {location: data.location})
    # get_problem_list
    # sends in a course_id and a grader_id
    # should get back a list of problem_ids, problem_names, num_left, num_total
    else if cmd == 'get_problem_list'
      @mock_cnt = 1
      response = 
        success: true
        problem_list: [
          {location: 'i4x://MITx/3.091x/problem/open_ended_demo1', \
            problem_name: "Problem 1", num_left: 3, num_total: 5},
          {location: 'i4x://MITx/3.091x/problem/open_ended_demo2', \
            problem_name: "Problem 2", num_left: 1, num_total: 5}
        ]
    else
      response =

    

  set_button_text: (text) =>
    @action_button.attr('value', text)

  graded_callback: (event) =>
    @score = event.target.value
