added html_mode_timeout and an alrm handler that returns to normal command mode after...