Implemented timeout and timer display.