Library updates, some code comments