New features:
- Added restoring of the HUD to the original custom state when it's turned on.
- Added restoring HUD on exit as well if it was hidden when game exits.
Not handled:
- Game crash when HUD is hidden will result in HUD being off on game startup.