fixes in libvt and libui