Some progress on making the inventory UI actually work.