Use RemoveClipboardFormatListener() and AddClipboardFormatListener(). These APIs remove the need for us to maintain the integrity of the clipboard chain, which turned out to be problematic for some reason that is yet to be identified.
Fixes #2215 (closed) Fixes #442 (closed)