Event publication logic bug.

When a clipboard event was fired, GUI would sometimes free the actual
clipboard entry and its underlying text. When this same entry was used
subsequently (an update, perhaps), a null dereference occurred.