Modular Child Windows with Glade and Visual Ruby

I’m currently writing a little RSA encoding program for school, and I
seem to be having trouble calling up a child window. The error is in the
second class, the show_window() method in the second class. The method
works just fine in the first class, but when I run it and then hit the
button that should trigger the second window, I get this error:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vrlib-0.0.33/lib/GladeGUI.rb:330:in
show_window': undefined method show_all’ for nil:NilClass
I am very stuck and help is appreciated. The full code and program can
be found on github here;
GitHub - lazer-rash/briggs-is-cool: he really is Thank you all in
advance.

Hi:

You must have renamed the top window in glade. The top window must
always be named the default “window1”

E