 misc_page = require('./misc_page')
 underscore = require('underscore')
 immutable  = require('immutable')
+lodash = require('lodash')
 
 {React, ReactDOM, Actions, Store, Table, rtypes, rclass, Redux}  = require('./app-framework')
 {Col, Row, Button, ButtonGroup, ButtonToolbar, FormControl, FormGroup, InputGroup, Panel, Well} = require('react-bootstrap')

        cursor     : rtypes.string    # id of the cursor

    render_entries: ->
        for x, i in @props.log
            <LogEntry
                key             = {x.id}
                cursor          = {@props.cursor==x.id}

                            @process_log_entry(x)
                            break
            if new_log.length > 1
                new_log = lodash.sortBy(new_log, (el) -> -el.time)
                # combine redundant subsequent events that differ only by time
                v = []
                for i in [1...new_log.length]
