only updates stats when tab/window is on focus
added ability to implement google analytics
fixed install.php to get settings prepared and converted to strings for config.php file
fixed validate-ip option from showing wrong default value in form