Update GuiFactory to use new GuiBase contexts