Fixes to editor and to websql replacement.