Library updates and minor tweaks.