more small fixes for libvt