Create and free editor