added clearQueue task, improved mongo connection (better indices), updated Social tasks