This version works with moosegui.