Better error pages and PermissionDenied handling.