Prevent stale UI updates and reduce DBus load by caching menus with automatic eviction when limit exceeded
Pre-warm DBus PID cache using a ThreadPoolExecutor to instantly resolve service PIDs, centralize registry locking, and improve robustness and performance.