Front end upgrade

@Schoonology Please review the changes in lib, tools and Overrides. Reviewing the front-end diffs is probably not worth the effort.