sanitize event handling code (at least a little bit)
sanitize event handling code (at least a little bit)

darcs-hash:20080623083642-a887e-50dfcf80fd8f3e06df4e91c2e5d995de01f8d043.gz

RaphaelRochet/easystroke,thjaeger/easystroke,RaphaelRochet/easystroke,thjaeger/easystroke