I'm really sorry, am lack of time till August, but I would make much simplier test. Just !?PI + redirect some known def frame. Ensure png file exists. If all def png redirections stopped working, it will be easy to detect. I checked the code and it seems to be ok.