TableWidget version of inventories mostly works