Move py_ui_out to a new header This moves the declaration of py_ui_out to a new header, so that it can more readily be used by other code.