Config file saving now implemented. See RebuildXMLConfig() in SLCONFIG class.
Ditched the previous method, as it was going to be extremely buggy and painful to implement.
Also cleaned up some TODO comment tags.