Bugfix and addition inside lib_search for paths to the current frontend-template.