Fixed IniParser and improved error reporting