pub(crate) fn poll_ui_flags(app: Application, flags: UiFlags)
GTK-side: poll the flags every 250ms on the main thread. The application handle stays on the GTK thread and never enters Tokio tasks.