better inventory sorting
syntax fixes
tweak the inventory count function
few more tweaks to code to gt consolidatio working