         search : ''   # search that user has requested
 
     getInitialState: ->
-        cursor_index : 0
+        # Temporarily sticking this here until we switch to typescript
+        @window_list_ref = React.createRef()
+
+        return {cursor_index : 0}
 
     shouldComponentUpdate: (nextProps, nextState) ->
         if @state.cursor_index != nextState.cursor_index


        return @_log = v

    increment_cursor: ->
        if @state.cursor_index >= @get_log().size - 1
            return
        @setState(cursor_index : @state.cursor_index + 1)

    decrement_cursor: ->
        if @state.cursor_index <= 0
            return
        @setState(cursor_index : @state.cursor_index - 1)

    reset_cursor: ->
        @setState(cursor_index : 0)

    render_paging_buttons: (num_pages, cur_page) ->
        <ButtonGroup>

            ref              = {"search"}
            actions          = {@actions(name)}
            search           = {@props.search}
            selected         = {@get_log().get(@state.cursor_index)}
            increment_cursor = {@increment_cursor}
            decrement_cursor = {@decrement_cursor}
            reset_cursor     = {@reset_cursor}
