Stability & Optimize.

Conf file sanity checks.
Small Optimization in xml_update().