nice "its a feature not a bug!"
I coded gluons based on https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=11839&PageNum=2.
That's really funny.
As for how to make it draw effects in the zoom window:
You need to create a section of code that checks for zoomenabled and then checks the zoom level. After this, you can draw squares in the zoom window's area, based on the info you just gathered and a little bit of math.
I didn't name actual variables, though. You'd have to look those up.
-RCAP