Fixed settings from custom levelsets potentially carrying over when switching levelsets. (Split settings into 'user-managed' and 'mod-managed'. When switching to a different mod, all 'mod-managed' settings get reset. The levelset name is now also stored in SDLPoP.cfg, so that we can check whether we switched to a different mod.)
Fixed a few minor drawing bugs in the pause menu.
In fullscreen mode, only show the mouse cursor when necessary (when the menu is shown, and when not using keyboard or controller instead).
Can now use right mouse button (or the 'back'/'X1' mouse button) to close menus.
Fixed a controller hold-down delay bug, which caused the A and B buttons to be ignored if they are pressed immediately after letting go of the held-down button.
General code cleanup for the pause menu.
Renamed NAME_LIST() macro to NAMES_LIST() for consistency with the struct names_list_type.
build.bat:
Link the CRT statically instead of dynamically (compiler option "/MT" instead of "/MD").
Fixed build type defaulting to debug, not release, if no parameter is passed to build.bat.
Fixed debugging using the MSVC debugger (added /Z7 flag, fixed files needed for debugging being deleted at cleanup).
Pause menu:
build.bat: