added lost connection and auto-shutdown warnings to html