fixed clearing house nil variables, added logging abilities for Commodity table