         .catch => @buildViews()
     else
       @buildViews()
+
 
   buildViews: (response)->
 

      @updateStatus { status: Unknown }

    @show()
    # @getOptions().container.setClass 'blurred'


  updateStatus: (event) ->

    {status, percentage} = event

    if status is @state
      if percentage?
        @progressBar?.updateBar Math.max percentage, 10
        @progressBar?.show()

    else
      @state = status

      if percentage? and percentage is 100
        @progressBar?.updateBar 100
        @progressBar?.show()

        KD.utils.wait 500, @bound 'buildViews'

      else
        @buildViews()

      @prepareIDE()  if status is Running
