wip commit of implementing server authoritative inventories. there is a lot of experimental and debug code. this is NOT ready for testing or review.