Fix empty dom in editor by making more buttons dom. Also try fix error reporting in Chrome