Removed a bunch of the logging, added support for chrome app