in SearchPaths, treat the root path independently. Remove special case in ProjectFileWriter and other small issues.
Added new OmitSearchPath option