- began porting gstring code from 2006 build