Fixed recusion detection mixup in converting arrays and objects to JSON
Made string HTML rendering more efficient. Enable support for globals. Enabled supprt for resources. Converted measures from px to em.
Updates to HTML UI