Minor improvements to item editor