 
   writeSnapshot: ->
 
-    return  if @isMachineNotRunning()
+    return  unless @isMachineRunning()
 
     name  = @getWorkspaceSnapshotName()
     value = @getWorkspaceSnapshot()

      @fakeFinderView?.destroy()
      @fakeViewsDestroyed = yes

    if snapshot
      @resurrectLocalSnapshot snapshot

    else
      @ideViews.first.createEditor()
      @ideViews.last.createNewTerminal { machine }


  resurrectLocalSnapshot: (snapshot) ->

    for key, value of snapshot when value
      @createPaneFromChange value, yes


  toggleFullscreenIDEView: ->
