* added GridBox ctor from ipos3_t
* GridBox param for RT_WriteCSVFiles
* reduce scope