change API: use xr_new_imbed to make a rope imbedded inside cstring
cleanup
implement cstring caching