Changed scanning to disallow duplicate UIDs.  Added dir structure for precompiled headers.