Modified view loading to handle exceptions in a smarter way.