More debugging for scripts, inventory, item fixes.