Fixing sleep to use constant. Also added option for quieter daemon