-# history is broken
-# render in initializer, not when attaching?
+# 400 bad request when aborting changefeed
+# table view shows no results when it means "no more results" or "no results yet"
+# abort button blinks when runnign a normal query
+# abort blinks constantly when running a changefeed
+# no element found when closing connection
+
+# refactor query_result
+
 # ticker shows throughout
-# clicking abort doesn't stop loading the changefeed batch
-# table view shows no results when it means "no more results" or "no results yet"
-# load next batch button is never hidden
-# abort button blinks
-# no element found when closing connection
-
 # move more results button into individual views
 # returned/displayed/skipped has extra comma and is generally ugly
 

            @trigger 'error', @, error
            @discard_results = true
            @ended = true 

    class @Container extends Backbone.View
        id: 'dataexplorer'

    # This class represents the results of a query.
    #
    # If there is a profile, `profile` is set. After a 'ready' event,
    # one of `error`, `value` or `cursor` is always set, `type`
    # indicates which. `ended` indicates whether there are any more
    # results to read.
    #
    # It triggers the following events:
    #  * ready: The first response has been received
