Updated libs, partial encoding fixes