Key events are now annotated in the output processing code given by the interactiveFigure function.