We are about to switch to a new forum software. Until then we have removed the registration on this forum.
G4P has been updated and includes some new features to work with multiple Windows.
The method
G4P.isWindowOpen(gwindow);
can be used to see if a GWindow object is still open.
Also
gwindow.addOnCloseHandler(this, methodHandlerName);
can be used to specify a method to be executed when a GWindow is closed.