minor changes webserver, more goamatic code on watchdog