editor attribute handling, cleanups