Added info and error logging. Implemented quiet periods etc.