random word and comments

random word will now generate correctly, we just had some variables
mixed up, I also added a bunch of comments