X events recorder and player
