Fixed formatting
Fixed crash when watched directory was removed