Fix config file loading on Windows
Fix config file loading on Windows

Fix config file loading on Windows which has become unreliable due _pgmptr deprecation, instead use GetModuleFileName.

Also:
* Use PATH_MAX instead of magic 1024
* Correctly test for sizes when manipulating buffers.
* Use the correct path seperator on Windows.

multiplay/qstat,multiplay/qstat,multiplay/qstat,multiplay/qstat,multiplay/qstat