Yes, I did some digging and found the issue. I really hate GUIs...

It is tested and working. But thanks for posting that up! The secret is the Flush(). If you do
not call that at the time your app closes, it will destroy the contents of the clipboard. With a name like Flush() it seems counter intuitive! So if I ever see an API with flush() in it, I will call it blindly from now on...
Steve