 
   prepareIDE: (initial) ->
 
-    {appManager, computeController} = kd.singletons
-
-    # FIXME: We shouldn't use computeController.fetchMachine in this case.
-    computeController.fetchMachines (err) =>
-
-      return if showError err
-
-      environmentDataProvider.fetchMachine @machine.uid, (machine) =>
-
-        # return showError "Couldn't fetch your VMs"  unless machine
-        unless machine
-          return appManager.tell 'IDE', 'quit'
-
-        @machine = machine
-        @setData machine
-
-        @emit 'IDEBecameReady', machine
-
-        computeController.showBuildLogs machine  if initial
+
+    { appManager, computeController } = kd.singletons
+
+    environmentDataProvider.fetchMachine @machine.uid, (machine) =>
+
+      # return showError "Couldn't fetch your VMs"  unless machine
+      unless machine
+        return appManager.tell 'IDE', 'quit'
+
+      @machine = machine
+      @setData machine
+
+      @emit 'IDEBecameReady', machine
+
+      computeController.showBuildLogs machine  if initial
 
 
   verifyAccount: ->


  completeCurrentProcess: (status, initial) ->

    @clearEventTimer()

    return  if @switchToIDEIfNeeded status, initial

    @progressBar?.updateBar 100
    @progressBar?.show()

    kd.utils.wait 500, => @buildViews()


  showBusy: (message) ->

      @updatePercentage percentage  if percentage?

    else

      [ @oldState, @state ] = [ @state, status ]

      if error

