updated VM and text handling lib