Signal handler via g_shutdown + uasync_wakeup ensures clean uasync poll exit. updateReadPosition() now saves both lastReadMsgId and lastPosMsgId on every scroll stop (300ms debounce), not just when read position changes. connect(stopped, quit) triggers graceful Qt shutdown after uasync cleanup.