updated main layout page with new version handling stuff and added G tracking