Added on_desktop_connected/disconnected/on_client_connected handlers