Upgrade History library, add LZ-String for compressing payloads