added some string and regexp support, minor fixes