Cleaned up Editor._run().