BTW, I just noticed another way to attack the problem, which is to add a `pop-up-frames` argument which works just like the variable but takes precedence over it, as in the PoC patch below (a real patch would adjust other places where we use that variable, among other things). WDYT? Stefan