fix issue with using String.Replace instead of String.Substring to find the .bin file corresponding to a map .ini file, and another work in progress to fix some maps crashing the preview generator