#144 - added front-end google analytics and included timing to mode changing