Correcting variable names and adding some additional views

Each processing view is included now (rather than one generic error one) to give greater control over how the various errors are handled.