Refactored desktop module and reduced input forwarding latency.