extracted web-related code (except websocket) into separate namespace
display current status on client startup - stub with zeroes
defined esper service as local in main function (to prevent starting it in repl)
display current state on client startup
reuse switch-events-stmt for all clients
update switch time every second
switch visualization