[PD] could the handling of local variables in message boxes be made easier?