fix #431: stale pointer for scalar events in nested gop
This adds code to send a gobj_vis to each object contained in a graph that has its own window.
Previously, when the window was closed the drawn gobjs didn't receive a gobj_vis to erase themselves. This caused a problem with scalar_vis which has the side-effect of unbinding a symbol.