Wait for process to terminate when killing comint buffer
Function which cleans comint buffer
Make C-y work in normal mode too