reuse various window/tab helpers, make page-mod test pass on fennec, replace some tabs with spaces.