if you pass in exitOnChromiumClose nodejs will exit when you close the main application window.