Save settings immediately on change

Settings changed through the menu or other controls (selected episode,
expansion, skill level and save game, as well as screen size, messages,
mouse sensitivity and sfx and music volumes), are now saved to
default.cfg the moment they are changed, rather than when the game
quits.