derive known types from stats
send stats instead of known event types set
cleanup
reset stats every 10 seconds and send them to clients