Added 'Search in files' checkbox, fixed root dir search algorithm.