Panels
A panel is aPointer to CUIPanel. You may also resolve one with FFI:
RunScript and FindPanel also raise when the UI engine is not up yet (panorama: UI engine not available yet) and when there is no main menu panel to default to. Wrap them in pcall if you call them early.