Adjust depth and parent stacks before dealing with items.
Increase item.xul minheight to 500.
Do not set a default name if there is already text in the field.