remove debug
rework config system to work with iframes