Minor changes to SHT library