More opportunities for dumping the input history, including a hookable function for arbitrary dumping by the host page.