Multifunction thermal reflux extractor and concentrator machine