 
     coffeeconsole = new CoffeeConsoleWidget()
     coffeeconsole.title.text = 'CoffeeScript REPL'
+    coffeeconsole.title.closable = true
 
     linkViewWidget = new LinkViewWidget(syncMaster)
     linkViewWidget.title.text = 'Link View'

    spy.docView = docView
    spy.outlineView = outlineView

    cmTaskpaper.title.text = 'CodeMirror View'
    panel.insertRight(cmTaskpaper)
    panel.insertBottom(coffeeconsole, cmTaskpaper)
    panel.insertLeft(linkViewWidget)


    panel.attach(document.body)

        gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter']
        tabSize: 4
    })
    cmTaskpaper.title.text = 'CodeMirror View'
    cmTaskpaper.title.closable = true

    # Initialize CodeMirror document
    doc = cmTaskpaper.editor.doc
