         project_id : project_id
         filename   : path
         cb         : (err, _db) ->
-            window.db = _db # TODO: for debugging
             if err
                 actions.set_error("unable to open #{@filename}")
             else

                    if x.table == 'settings'
                        misc.merge(t.settings, misc.copy_without(x, 'table'))
                    else if x.table == 'students'
                        t.students[x.account_id] = misc.copy_without(x, ['account_id', 'table'])
                    else if x.table == 'assignments'
                        t.assignments[x.assignment_id] = misc.copy_without(x, ['assignment_id', 'table'])
                for k, v of t

        add_select    : undefined

    clear_and_focus_student_search_input: ->
        @setState(search:'')
        @refs.student_search_input.getInputDOMNode().focus()

    clear_search_button : ->
