nextState added

Added nextState and transition variables for Main Menu and Log out
buttons
Requires a modCode variable and finding for Vanessa’s methods
Tinkering

Sorted a few errors;
Improved transition and variables with Aly’s code