Moving main functions out of main and in to worker_t.
Moving main functions out of main and in to worker_t.

sebadiaz/rethinkdb,marshall007/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,victorbriz/rethinkdb,sbusso/rethinkdb,gdi2290/rethinkdb,jesseditson/rethinkdb,urandu/rethinkdb,wkennington/rethinkdb,niieani/rethinkdb,RubenKelevra/rethinkdb,mcanthony/rethinkdb,bchavez/rethinkdb,robertjpayne/rethinkdb,victorbriz/rethinkdb,AtnNn/rethinkdb,niieani/rethinkdb,catroot/rethinkdb,tempbottle/rethinkdb,wkennington/rethinkdb,alash3al/rethinkdb,JackieXie168/rethinkdb,sbusso/rethinkdb,catroot/rethinkdb,lenstr/rethinkdb,gavioto/rethinkdb,scripni/rethinkdb,yakovenkodenis/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,jmptrader/rethinkdb,wkennington/rethinkdb,KSanthanam/rethinkdb,KSanthanam/rethinkdb,yaolinz/rethinkdb,jfriedly/rethinkdb,marshall007/rethinkdb,JackieXie168/rethinkdb,gdi2290/rethinkdb,urandu/rethinkdb,Qinusty/rethinkdb,marshall007/rethinkdb,KSanthanam/rethinkdb,mquandalle/rethinkdb,bpradipt/rethinkdb,wujf/rethinkdb,jesseditson/rethinkdb,victorbriz/rethinkdb,spblightadv/rethinkdb,victorbriz/rethinkdb,grandquista/rethinkdb,matthaywardwebdesign/rethinkdb,losywee/rethinkdb,pap/rethinkdb,rrampage/rethinkdb,mcanthony/rethinkdb,spblightadv/rethinkdb,spblightadv/rethinkdb,jmptrader/rethinkdb,ayumilong/rethinkdb,grandquista/rethinkdb,yaolinz/rethinkdb,gavioto/rethinkdb,ajose01/rethinkdb,spblightadv/rethinkdb,mbroadst/rethinkdb,rrampage/rethinkdb,niieani/rethinkdb,ajose01/rethinkdb,victorbriz/rethinkdb,bchavez/rethinkdb,Qinusty/rethinkdb,marshall007/rethinkdb,grandquista/rethinkdb,spblightadv/rethinkdb,mquandalle/rethinkdb,matthaywardwebdesign/rethinkdb,eliangidoni/rethinkdb,KSanthanam/rethinkdb,rrampage/rethinkdb,mquandalle/rethinkdb,Wilbeibi/rethinkdb,captainpete/rethinkdb,scripni/rethinkdb,AntouanK/rethinkdb,sontek/rethinkdb,AntouanK/rethinkdb,AntouanK/rethinkdb,jfriedly/rethinkdb,wojons/rethinkdb,wojons/rethinkdb,Qinusty/rethinkdb,nviennot/rethinkdb,sebadiaz/rethinkdb,robertjpayne/rethinkdb,yaolinz/rethinkdb,jfriedly/rethinkdb,lenstr/rethinkdb,alash3al/rethinkdb,jfriedly/rethinkdb,mquandalle/rethinkdb,scripni/rethinkdb,captainpete/rethinkdb,wujf/rethinkdb,AtnNn/rethinkdb,alash3al/rethinkdb,tempbottle/rethinkdb,ayumilong/rethinkdb,bchavez/rethinkdb,nviennot/rethinkdb,robertjpayne/rethinkdb,jesseditson/rethinkdb,Qinusty/rethinkdb,captainpete/rethinkdb,robertjpayne/rethinkdb,wkennington/rethinkdb,wojons/rethinkdb,losywee/rethinkdb,AntouanK/rethinkdb,RubenKelevra/rethinkdb,gdi2290/rethinkdb,scripni/rethinkdb,gdi2290/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,4talesa/rethinkdb,sebadiaz/rethinkdb,nviennot/rethinkdb,Qinusty/rethinkdb,mbroadst/rethinkdb,sontek/rethinkdb,Wilbeibi/rethinkdb,jesseditson/rethinkdb,grandquista/rethinkdb,4talesa/rethinkdb,JackieXie168/rethinkdb,mcanthony/rethinkdb,KSanthanam/rethinkdb,bchavez/rethinkdb,eliangidoni/rethinkdb,nviennot/rethinkdb,yakovenkodenis/rethinkdb,RubenKelevra/rethinkdb,RubenKelevra/rethinkdb,mquandalle/rethinkdb,yaolinz/rethinkdb,JackieXie168/rethinkdb,Wilbeibi/rethinkdb,alash3al/rethinkdb,matthaywardwebdesign/rethinkdb,jfriedly/rethinkdb,dparnell/rethinkdb,wkennington/rethinkdb,wkennington/rethinkdb,elkingtonmcb/rethinkdb,marshall007/rethinkdb,grandquista/rethinkdb,ajose01/rethinkdb,mcanthony/rethinkdb,tempbottle/rethinkdb,yakovenkodenis/rethinkdb,JackieXie168/rethinkdb,elkingtonmcb/rethinkdb,tempbottle/rethinkdb,Qinusty/rethinkdb,lenstr/rethinkdb,AtnNn/rethinkdb,sbusso/rethinkdb,dparnell/rethinkdb,losywee/rethinkdb,JackieXie168/rethinkdb,ajose01/rethinkdb,mbroadst/rethinkdb,dparnell/rethinkdb,wkennington/rethinkdb,pap/rethinkdb,eliangidoni/rethinkdb,Wilbeibi/rethinkdb,robertjpayne/rethinkdb,AntouanK/rethinkdb,catroot/rethinkdb,dparnell/rethinkdb,greyhwndz/rethinkdb,niieani/rethinkdb,spblightadv/rethinkdb,gavioto/rethinkdb,elkingtonmcb/rethinkdb,JackieXie168/rethinkdb,ayumilong/rethinkdb,greyhwndz/rethinkdb,marshall007/rethinkdb,elkingtonmcb/rethinkdb,niieani/rethinkdb,losywee/rethinkdb,elkingtonmcb/rethinkdb,KSanthanam/rethinkdb,lenstr/rethinkdb,sbusso/rethinkdb,ajose01/rethinkdb,mquandalle/rethinkdb,mcanthony/rethinkdb,RubenKelevra/rethinkdb,elkingtonmcb/rethinkdb,sebadiaz/rethinkdb,AtnNn/rethinkdb,sbusso/rethinkdb,sontek/rethinkdb,AtnNn/rethinkdb,wojons/rethinkdb,gavioto/rethinkdb,marshall007/rethinkdb,Wilbeibi/rethinkdb,matthaywardwebdesign/rethinkdb,gdi2290/rethinkdb,pap/rethinkdb,urandu/rethinkdb,urandu/rethinkdb,gavioto/rethinkdb,mbroadst/rethinkdb,jmptrader/rethinkdb,urandu/rethinkdb,Qinusty/rethinkdb,captainpete/rethinkdb,sontek/rethinkdb,losywee/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,scripni/rethinkdb,RubenKelevra/rethinkdb,robertjpayne/rethinkdb,dparnell/rethinkdb,elkingtonmcb/rethinkdb,AntouanK/rethinkdb,niieani/rethinkdb,tempbottle/rethinkdb,rrampage/rethinkdb,jfriedly/rethinkdb,mquandalle/rethinkdb,4talesa/rethinkdb,yaolinz/rethinkdb,sbusso/rethinkdb,pap/rethinkdb,bchavez/rethinkdb,matthaywardwebdesign/rethinkdb,mbroadst/rethinkdb,mcanthony/rethinkdb,bpradipt/rethinkdb,rrampage/rethinkdb,spblightadv/rethinkdb,lenstr/rethinkdb,yaolinz/rethinkdb,KSanthanam/rethinkdb,jmptrader/rethinkdb,captainpete/rethinkdb,ajose01/rethinkdb,nviennot/rethinkdb,jmptrader/rethinkdb,ayumilong/rethinkdb,greyhwndz/rethinkdb,losywee/rethinkdb,Wilbeibi/rethinkdb,urandu/rethinkdb,4talesa/rethinkdb,sontek/rethinkdb,bpradipt/rethinkdb,grandquista/rethinkdb,catroot/rethinkdb,greyhwndz/rethinkdb,greyhwndz/rethinkdb,Qinusty/rethinkdb,mbroadst/rethinkdb,ajose01/rethinkdb,wujf/rethinkdb,AtnNn/rethinkdb,eliangidoni/rethinkdb,bpradipt/rethinkdb,ajose01/rethinkdb,matthaywardwebdesign/rethinkdb,tempbottle/rethinkdb,yakovenkodenis/rethinkdb,pap/rethinkdb,spblightadv/rethinkdb,urandu/rethinkdb,lenstr/rethinkdb,scripni/rethinkdb,greyhwndz/rethinkdb,AntouanK/rethinkdb,ayumilong/rethinkdb,eliangidoni/rethinkdb,bchavez/rethinkdb,bchavez/rethinkdb,matthaywardwebdesign/rethinkdb,sontek/rethinkdb,4talesa/rethinkdb,sebadiaz/rethinkdb,sontek/rethinkdb,4talesa/rethinkdb,gavioto/rethinkdb,catroot/rethinkdb,pap/rethinkdb,rrampage/rethinkdb,bpradipt/rethinkdb,victorbriz/rethinkdb,sebadiaz/rethinkdb,victorbriz/rethinkdb,gdi2290/rethinkdb,catroot/rethinkdb,marshall007/rethinkdb,tempbottle/rethinkdb,greyhwndz/rethinkdb,catroot/rethinkdb,Wilbeibi/rethinkdb,KSanthanam/rethinkdb,mcanthony/rethinkdb,scripni/rethinkdb,Wilbeibi/rethinkdb,jesseditson/rethinkdb,wkennington/rethinkdb,eliangidoni/rethinkdb,bchavez/rethinkdb,robertjpayne/rethinkdb,gavioto/rethinkdb,4talesa/rethinkdb,dparnell/rethinkdb,ayumilong/rethinkdb,alash3al/rethinkdb,losywee/rethinkdb,mcanthony/rethinkdb,wojons/rethinkdb,wujf/rethinkdb,grandquista/rethinkdb,alash3al/rethinkdb,catroot/rethinkdb,captainpete/rethinkdb,urandu/rethinkdb,bpradipt/rethinkdb,captainpete/rethinkdb,ayumilong/rethinkdb,yaolinz/rethinkdb,dparnell/rethinkdb,matthaywardwebdesign/rethinkdb,jesseditson/rethinkdb,yakovenkodenis/rethinkdb,wujf/rethinkdb,mbroadst/rethinkdb,dparnell/rethinkdb,ayumilong/rethinkdb,yaolinz/rethinkdb,captainpete/rethinkdb,JackieXie168/rethinkdb,jmptrader/rethinkdb,pap/rethinkdb,robertjpayne/rethinkdb,jmptrader/rethinkdb,dparnell/rethinkdb,rrampage/rethinkdb,wojons/rethinkdb,wojons/rethinkdb,niieani/rethinkdb,4talesa/rethinkdb,lenstr/rethinkdb,yakovenkodenis/rethinkdb,grandquista/rethinkdb,nviennot/rethinkdb,greyhwndz/rethinkdb,scripni/rethinkdb,jfriedly/rethinkdb,eliangidoni/rethinkdb,elkingtonmcb/rethinkdb,jesseditson/rethinkdb,alash3al/rethinkdb,yakovenkodenis/rethinkdb,victorbriz/rethinkdb,yakovenkodenis/rethinkdb,sontek/rethinkdb,alash3al/rethinkdb,jfriedly/rethinkdb,nviennot/rethinkdb,RubenKelevra/rethinkdb,bchavez/rethinkdb,bpradipt/rethinkdb,rrampage/rethinkdb,mquandalle/rethinkdb,wojons/rethinkdb,nviennot/rethinkdb,eliangidoni/rethinkdb,AntouanK/rethinkdb,sbusso/rethinkdb,wujf/rethinkdb,AtnNn/rethinkdb,AtnNn/rethinkdb,sebadiaz/rethinkdb,bpradipt/rethinkdb,lenstr/rethinkdb,sbusso/rethinkdb,RubenKelevra/rethinkdb,jesseditson/rethinkdb,wujf/rethinkdb,sebadiaz/rethinkdb,eliangidoni/rethinkdb,gavioto/rethinkdb,Qinusty/rethinkdb,tempbottle/rethinkdb,losywee/rethinkdb,gdi2290/rethinkdb,pap/rethinkdb