misc/various bug fixes.
fix canonical redir url bug with iframes.