Change package.json 'main' to use the app:// protocol.
Change the logging.