Remove unnecessary scope declared inside its own namespace
Always make sure the directory get event is set to avoid infinite loops in threaded CDirectory::GetDirectory()