Made message printing controlled by printNow.