Aspects of AdS2 quantum gravity and the Karch-Randall braneworld