         window.title = player!.gameName
 
         bookmark.isHidden = true
+        bookmarkButtonButton.bookmarkState = false
 
         // Close the sheet
         window.endSheet(createSheet)

                bookmark.place = value
                bookmark.needsDisplay = true
                bookmark.isHidden = false
            }
        }


        image = NSImage.init(named: NSImage.Name("icon_generic"))
        icons.add(image!)

        // Set up accessory
        //window.view.accessoryViewController = bookmarkViewController
        bookmarkViewController.view = bookmarkButtonView
        bookmarkViewController.layoutAttribute = .right
        self.window?.addTitlebarAccessoryViewController(bookmarkViewController)
    }

    func applicationDidFinishLaunching(_ aNotification: Notification) {

        // Hide the bookmark and the Game menu
        bookmark.isHidden = true
        bookmarkButtonButton.bookmarkState = false
        gameMenu.isHidden = true

        // Set up pack table view
        packTable.target = self
