changed template escape handler functions to grab data from $r->urlpath instead of @_ for compatability with dispatch_new.
Changed paths: