Fix possible error

Also force-resets dInventories in makeUnique
Merge pull request #828 from Morphan1/master

Add tables, to clear our status of having no tables