Improvements for the layout editor.