Small editor fixes