Fixed incorrect parsing of Number type.
Fixed cases of int.Parse() and float.Parse() to use the invariant culture.
Added a comment to clarify things.
Merge pull request #2724 from SickheadGames/mgfxculture

MGFX Fixes