Pipe error cleanups
query: added EX_DIVIDEND_DATE
constants: added EX_DIVIDEND_DATE.  Minor edits.
dividends: added heuristics on when to update.
updates: info on actually waiting only.
run: added lock delete option.
earings: warning if an expected update is late.
updates: added wait4threads
Choosing working directory.
dollar common function