added configurable google analytics bug, closes #151

tweaked 3-4 other lines for which flake8 was barking; just a few unused imports and long text lines.