     @localStorage = new LocalStorage localStorageDir
 
   showEditor: =>
-    @initializeWindow()
+    @setupWindow()
     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')

      @syncLocalStorage(e, data)
      @populateTray()

  setupWindow: ->
    @window = new BrowserWindow
      width: 600
      height: 600
