Update module file to escape from code execution if on admin pages.
Updated admin pages to not run specific code to add theme and other libraries. This will block errors from emerging in the dblog.
Reference: CORE-3054: NYS_unav module - updates to fix looking for files on admin pages