Change secondsActive, rename hostname

secondsActive is a better as gauge. hostname was a bad name for a
configuration value, given the expected address is literaly a URL.
Update documentation and fix various minor issues