ShopState/InventoryState syncing and null pointer bugs resolved.