Fixed Some Warnings.

Added Some Debug Help for Inventory.