Loading completed; lua functions now reference GameState for internal variables.