added convenience functions for the display of views, fixed debug criteria