Fix config updating

The module for reading .ini-style files was broken, so I needed to replace it.
Doing this means that configurations can be updated now, after changing the function to update the root var.