Added charstash utilities and strglue
Fixed cgen bug