load xml, adding a quit button