changed variable name
added thermalCal in build tree. Fixed some thermalCal build bugs