Fixed SystemState logic

Made it so the state of the game is based on enums
Merge remote-tracking branch 'origin/Code' into Graphics