Hello Pig-san, I've tried your Leila's Dressing Room program, which is really cool. I've encountered an error on some of the built-in mods, where "nude X" is selected. This makes it so that it shows the clothing on the Animation in Leila's Dressing Room, but makes Leila nude in-game. The portrait retains the clothes though. Hope this helps, and also hope you open source your program.
Also, it seems like there's no way to see the "dead" states for the portrait? The Swimsuit mod for example doesn't seem to have any assets for these which really sucks. I'd like to know where I can find the original mods to see if they include the "dead" files.
Located in
Portrait\Broken\Dead
and
Portrait\Normal\Dead