Hi @goswh,
You can change how many recodes the CHS keeps:
I also had lag before. After reducing the history to 50 or so, the lag was gone.
I don't have an elegant solution for it, but I think you can do something like:
While the clipboard is not empty:
append/prepend the current clipboard to file,
delete the current clipboard.
KM has all these three actions.