Hi Nicolas and all, OK, I think I've got a patch now that addresses everything you asked for. It is attached. This has been quite a learning experience! Let me know if other changes are necessary.