support Chrome App mode - closes #73