The remote_ui module is an implementation of the UI layer, and it attaches UI instances that redirect redraw notifications to connected clients.