Global variables are no longer used for game state (and only sparingly for interface state).