some minor refactoring of the loadXML function (now named readShow)