Attempting to fix double-click-on-item-in-bottom-invenotry dupe bug.
Also trying out to print additional debug information for items of
failed trades.