gatherwords cleanup and words.txt file checking on index.php