         safeToUnload = no
         break
       return safeToUnload ? yes
+
 
   isAppInternal: (name = '') -> globals.config.apps[name]?
 

    {name} = appInstance.getOptions()
    router.setPageTitle name  if name
    @setLastActiveIndex appInstance
    @frontApp = appInstance

  getFrontAppManifest: ->
    {name}  = @getFrontApp().getOptions()

$                    = require 'jquery'
_                    = require 'underscore'
globals              = require 'globals'
getAppOptions        = require './util/getAppOptions'
getAppClass          = require './util/getAppClass'
kd                   = require 'kd'
KDModalViewWithForms = kd.ModalViewWithForms
KDNotificationView   = kd.NotificationView
KDObject             = kd.Object
KDOnOffSwitch        = kd.OnOffSwitch
KDSelectBox          = kd.SelectBox
KDView               = kd.View
FSHelper             = require './util/fs/fshelper'
KodingAppsController = require './kodingappscontroller'

module.exports =

class ApplicationManager extends KDObject

  ###

