A really good start, especially the namebox portion of the code! Unfortunately, at least for me, it requires modification to work properly with portraits which is preventing me from rating it higher. However, if you just use the namebox portion of the code + the "/f" type commands for portraits, it should work. See discussion for more details.