More abs paths for sed.
Finally decided that the WP class should implement all of the define_globals tasks.