cleanups in libvt