updates to delays, added in debug and timers;