         finish_cb = =>
             end_time = (new Date()).getTime()
             if @rs != null
-                @log? 'Finished Run'
-                @log? "Took #{end_time - start_time}ms."
+                console?.log 'Finished Run'
+                console?.log "Took #{end_time - start_time}ms."
                 @rs = null
             finished_cb()
             return

        (this is usually accomplished with jQuery(document).onReady)
    ###

    constructor: (@stdout, @log, @beanshellWrapperName) ->
        ###
            Sets up Doppio environment.
            @stdout (msg) ->

        ###
            Abort the current run.
        ###
        console?.log 'User Abort Requested'
        if @rs
            console?.log 'Aborting Run'
            cb = =>
                console?.log 'Aborted Successfully'
                @rs = null
                finished_cb() if finished_cb?
            @rs.async_abort(cb)
        else
            console?.log 'No Run Detected'
        return
