added 'friendly error page' functionality, but only hand-checked it - still needs integration tests; put integration tests into groups so they can be executed with or without the 'friendly error pages' set