JSON validation
Debugged logic for transition from preGame to active