This would be easy fixable - but I won't do this because of the following - if you use a foldername.txt then ONLY the name of the foldername.txt is used.
In this case someone really put thought into it and if he wants to optimizes the gallery for SEO then he knows what to do.
But for the others I use the full name because then the title is unique if the gallery is checked by a robot.
You are right this could be improved by using all foldername.txt recursively till the top. But I do this when I do the breadcrumb. For changing this I would have to move the breadcrumb stuff to the very beginning and ......
So I won't change this for now. If you like - do it
Thanks for your detailed feedback. You already helped to find some stuff which where hard to find...