Hi,
Sorry for the delay, but the reply of Tom didn't reach me. I've modifiedthe patch according to Tom's comments. I hope I am not too late.
Regards.