Improve printing to screen and delay checking