View events

Small bugfix on view events.
Debug messages added to view events.

Test button: make grid test and make field test.