preliminary changes for supporting usage in subdirectory of document_root; bread crumbs still buggy;
Changed paths: