       @syncLocalStorage(e, data)
       @populateTray()
 
-  initializeWindow: ->
+  setupWindow: ->
     @window = new BrowserWindow
       width: 600
       height: 600

    @localStorage = new LocalStorage localStorageDir

  showEditor: =>
    @initializeWindow()
    app.dock.show()

    @window.webContents.loadUrl("file://#{__dirname}/../renderer/app.html")

        libraryPath = output.slice(output.indexOf('/')).trim()
        activeLibrary = @fetchLibrary @localStorage.getItem('libraries-active-library')

        if libraryPath isnt activeLibrary?.path
          Q.all [@killItunes(), @resetLibrary()]
            .then =>
              baseLibrary = path.join(app.getPath('home'), 'Music', 'iTunes')
