Cleaned up and enhanced the path processing in path.php.  Calculated the site root automatically using __FILE__.  Enabled and used PHP constants in external Javascript and LESS files.  Probably more changes...