- Update block diagram to show correct channel/mutex flow - Frame receiver now calls w.Invalidate() inside the mutex lock - Logic goroutine now waits on batched []InputEvent and configChan - Main loop batches events and sends outside the lock - Remove select-with-default batching from logic Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>