Cleanups of request checks, mod_perl checks and all around: &escapeHTML