Improved dialog

Dialog has been refined to use XML, and to progress through messages in
an XML document, allowing for dynamic saving. This will eliminate the
need to save. although I may choose another way since the browser
version cannot use XML, although the web version probably won't be
deployed. TODO: Doors and mobile controls.