   startEditorWindow: ->
     @installUncaughtErrorHandler()
 
-    {safeMode} = @getLoadSettings()
-
     CommandInstaller = require './command-installer'
-
     commandInstaller = new CommandInstaller(@getVersion())
     commandInstaller.installAtomCommand false, (error) ->
       console.warn error.message if error?


    @packages.activate()
    @keymaps.loadUserKeymap()
    @requireUserInitScript() unless safeMode

    @menu.update()
    @disposables.add @config.onDidChange 'core.autoHideMenuBar', ({newValue}) =>

      console.warn error.message if error?

    @config.load()
    @themes.loadBaseStylesheets()

    @setBodyPlatformClass()
