 
   getFrontApp:-> @frontApp
 
-  expandApplicationPath:(path)->
+  expandApplicationPath = (path)->
     if /\.kdapplication$/.test path then path
     else "./client/app/Applications/#{path}.kdapplication"
 

      delete @appInitializationQueue[path]

  getAppViews:(path)->
    index = @appInstanceArray.indexOf @getAppInstance path
    @appViewsArray[index]


        [path, callback] = arguments
        doBringToFront = yes

    path = expandApplicationPath path
    appManager = @

    beforeCallback = (appInstance)->
