ensure the build can run on 1 cpu
accidentally checking for a directory that only existed locally
adding an error message
logging in a way that doesn't explode
fix for linux resource watching

i'm too used to the mac and its 10 second polling, on Linux the first
notifications arrived before the latch could acquire the lock.
hopefully starting in a new thread is enough, but this may require
another lock
publish loaded event after putting it in the map

goofy stuff like this will trip you up - need to ensure that the event
doesn't go out until it can be read outside.  it worked for me because
of the reload on the mac being so slow.  on linux it processes very
quickly indeed