(mostly passing arguments by const reference and checking LibError return codes) This was SVN commit r6214.
This was SVN commit r6187.
This was SVN commit r6105.