Fix bug 11274. Don't hold a lock on projectInfoMap for so long, fetching interesting mmp/bld.inf/etc list outside the lock instead. Add a temporary resource listener just in case resources are modified when we're not looking (I never saw this fire).
# use glob syntax.syntax: globbinruntime\.DS_Store