Hello, littlemisssoso!
1 The failure to close the game properly is (most likely) an issue with the version of nwjs you are using. I'm looking into a solution that ensures that the game closes properly.
2. This should be added automatically by using the built-in Metadata Editor. Simply add it to the Chromium Flags section and click on Save.