Put some event name lists in eval-when (compile load eval) so that we can mapcar over the lists in the definitions of mask constants.