cleaned up terms.py and pic_crawl.py