-- Settings preview iframe handling.
-- UI iframe previews fix.
Repaired flatdoc and preview