imported sqlite3 and os. added code to generate pid.  Fixed some bugs introduced to main.oy
I'm not sure what I did but it seems to work on the test cases.  Sorcery.
seems to work.  We don't have string output from the crawler threads, but we can work on that.  Merging back to master momentarily.
final