Properly save settings on all platforms.
In IniFile.cs, return negative Int32.MaxValue to indicate an error when parsing integers.