Chrome app version 4, a bit of a mess in places, verbose logging still.
Remove logging.