Starting with a clipboard listener that recognizes changes to the clipboard due to ownership changing. Verified this works in Windows and Linux.