fixed bugs involving early quitting, watching too many directories and absolute path names
removing test file
fixed the duplicate modify issue