Updates to lib files and functions, pages.