Improve nestable editor, begin adding code for piece configuration