Work on LibraryScanner:

Moved importDirectory() to LibraryScanner.
Added Mutex instead volatile bool for pause.