Added Iframe for mercury editor and various changes for stability