Code cleanup. Thermald done.