Changed debug flag warning format. Added a warning for using delay