Booleans mostly removed in favor of GameStates enum; Speed increases after gate completion; fixed impossible gate situations; added "nextGateSpeed" to properly generate each new gate according to future speed