merge gUserPrefs into gGlobalPrefs, apply new names from gen_settingsstructs.py
use pshpack?.h and poppack.h instead of pragma pack
adjust resource names to GlobalPrefs
make resource.h casing usage consistent