webui: make EPG grid stateful. Fixes #1025.