add some styling
add ontime_state to generator table 
update generator table on emit_event call