Flushed libnotify code down into GenericUI.