Completely overhauled threadsearch to use threading and a synchronised queue now. Also, when searching for catalog, a new thread will be spawned per page. When searching through the whole board, the threads.json link is used instead of catalog.json, and a new python thread is spawned per 4chan thread on a page
Added a few lines to fetch the posts from the synchronous queue, and sed replaced all occurrences of 4 spaces with a tab character
temporarily tried adding another mutex to the urllib2.urlopen() call in get_json, but it reduced the problem; it didn't resolve it. I'll call it a night.
Changed tabs into spaces (to make it look better)
Changed the synchronous queue to a threadsafe deque, and removed a mutex
Fixed some syntax errors etc
Merge pull request #40 from codyharrington/master

Overhaul bhottu's threadsearching module so that it has far less overhead (uses threads instead of processes)