Note that windows that are declared in XML code that is parsed by moai.CreateApp()
are opened automatically unless you explicitly request them to stay closed by
setting Window.Open to False
. Windows created by moai.CreateObject(),
on the other hand, are not opened automatically. You first have to add them to
the application's window list by calling Application.AddWindow and then
set Window.Open to True
.