Fixed permissions in the manifest file and updated references to onLaunched and app.window to reference the correct objects. Works on version 29.0.1507.0 of the Canary.