Improved stacks for items from NBT files

Improved stacks for items from NBT files. Config files are now used as
with normal items.