added sleep to emulate both the making and smoking of the cig
fixed output messages when agents produce items. fixed usleep warning