improved editor layout formatting