Xml is now updated periodically instead of immediately on change (this simplifies code).
Updated platform classes.