Now the code in init_ui branch works, but there are TODOs: - needs better method names and api documentation - needs to setup a finalizer in Init_yastx. For now, call this from Ruby: ObjectSpace.define_finalizer(Yast, proc { Yast.ui_finalizer } )