Fixed flag issues; added google analytics; added version to footer