improvements to the crawler

* made python3 compatibe
* added cache_fill as a background thread