- bugfix: getNameArray() in generator
- added 'dialog.reset' to generator & grammer