Remove the hard-coded web context variable.  Refine exception processing.