Improved interface drawing in editor