Added sleeptime option and removed threads option from config (this should be application dependent)