Added webgui caching and reloading on connection errors