Additional features and minor changes

Reorganized the variables at the top of the program
Changed the way the enter button works with live completions
Minor rule changes for live completions