added htmlentities and strip_tags functions to much of what is output to the screen in index.php.