Thanks for looking into this! I'll try it out as soon as I have some time for VAM (rare commodity those days)
I don't know the reason of many things in this code, I built up on an existing plugin, very useful but quite wonky. I guess it was quickly made and never packaged; that can explain why...