load from XML and saving to XML fixed; some other minor improvements in CLI frontend