Merge pull request #4 from rjpower/master

Use macros to capture file, line number when logging.
add basename(fpath)
overloaded Log utils
no access to head_ in worker threads
use full locking for now
Add stealing to threadpool.