We now wait until the clipboard actually changed, which should make things run better. This should fix the cases where the expected value is empty in #1142.