For #1289: Fix move into repeated section and templates updates

Templates are now recreated after each control mutation:

- insert
- delete
- move
- rename
Fix #1454 "Can't remove last grid if there is a nested section:"
For #1289: Cosmetic and usability fixes