/sbin/pup_event_frontend_d : Use sh math
instead of expr, add trap line, do less test for non-existing VARIABLES
or files in daemon loop, do not log mouse movement.