fe-gnome: #include <stdlib.h> for free()
fe-gnome: avoid gtk_clipboard_get()

This function is not multihead-safe, so use the per-display one instead.