Giovanni Gargani:
	- GetUpgradeID(itemString) is now better protected against bad input
