Mostly just updating libraries, removing string encoding/decoding, fixing some edge cases. No new functionality was added in this commit.