     @subscriptions = new CompositeDisposable
     @subscriptions.add atom.commands.add 'atom-workspace', 'magic-console:toggle':
       => @toggle()
-    @view = null
+    @views = []
     @blankRuntime = null
     atom.workspace.addOpener (uriToOpen) =>
       try

    throw new Error("Packaged not installed: '#{packageName}'") unless atomPackage?
    atomPackage.activateNow()

  runBlank: ->
    @view.stop()
    @activatePackage('script')
    if @blankRuntime.observers
      @blankRuntime.observers.forEach (observer) -> observer.destroy()
      @blankRuntime.observers = []
    @blankRuntime.addObserver(new ConsoleRuntimeObserver(@view))
    @blankRuntime.execute()

  runDefault: ->

    atom.workspace.open(uri, split: 'right', searchAllPanes: true).then (consoleRuntimeView) =>
      if consoleRuntimeView instanceof ConsoleRuntimeView
        previousActivePane.activate()
        @runBlank(consoleRuntimeView)
