Changed setVisible for GUI windows

It now changes all child windows to the same visibility as the one that
was set.