Lars, can you install the attached patch, which solves the parts of this issue which originate in my recent changes? The patch also does the correct thing w.r.t. the text fields in the comint, something I was unaware of until yesterday. Thanks!