improved error handling (custom and default now supported), added a view validation technique to the framework