added g_hook_list_marshal_check() to eventually destroy hooks after they