 
     computeController.on "public-#{machine._id}", (event)=>
 
-      {percentage, status} = event
+      if event.percentage?
 
-      if percentage < 100
-        @progress.show()
-        @progress.updateBar percentage
+        @progress.updateBar event.percentage
+
+        if event.percentage < 100 then @setClass 'loading busy'
+        else KD.utils.wait 1000, =>  @unsetClass 'loading busy'
+
       else
-        @progress.hide()
 
-      if status is 'Running'
-        @terminalIcon.show()
-      else
-        @terminalIcon.hide()
+        @unsetClass 'busy'
 
-      machine.update_
-        $set: "status.state": event.status
+      @updateState event.status
+
+    computeController.info machine
 
 
-  contextMenuItems : ->
+  updateState:(status)->
+
+    return unless status
+
+    if status is 'Running'
+    then @setClass 'running'
+    else @unsetClass 'running'
+
+    @getData().setAt "status.state", status
+
+
   invalidateMachine:(event)->
 
     if event.percentage is 100

        else @setData newMachine



    colorSelection = new ColorSelection selectedColor : @getOption 'colorTag'
    colorSelection.on "ColorChanged", @bound 'setColorTag'

      customView2         : colorSelection

    return items


  openTerminal:->

