Working directory fix for lazy devs

Visual Studio sometimes resets the working directory setting which is
annoying. So I added code to verify&update if the working directory is
not correctly set to the /bin/ directory. Also added some error handling
when loading gamedata files (error messages instead of just crashing).