Refactor WolfedEditor