Separated out figuring out the default gallery subelements, (as per todo item)
and made it optional to do it last moment with gallery subelement `default`, also added subelement that
indicates no gallery element that matched expectations was found.