bring the two inotify->watch calls into one sub and add some error conditions that...