- added possibility to define grids in controller closures ending with 'Grid'
- fixed small bugs