Updating and interface changes

Minor interface changes to lockegen and updated a few libraries.