gplugin/gplugin

a7cb44804c3b
use g_slist_copy_deep instead of copying manually and clear up some error handling