Add autorefresh for the web GUI (Closes: #494)

Add autorefresh for the web GUI (Closes: #494)
I'd maybe cast `.to_i` here, as it's only going to make sense to a browser as an integer anyway, then not output the refresh tag if the number is <= 0.