Fixed bug preventing reading/writing to .ini