Slow Web UI fix

Fix slow loading of the Web UI.