There's a lot of repetition of this sort of sequence:
```
ReadBuffer[2] = '0';
setConfigFile(ReadBuffer);
refreshConfigBuffer();
```

It might be nice to have a function `setConfigOption(key, value)` that wraps this. It would be even nicer if the keys were meaningful names; using positions within a text file as keys seems dangerous (what if an option is deleted in the future?) and not very readable.