It looks like your contraption has a button named "play". This will shadow (take precedence over) the definition of the built-in function "play[]". You also have a function play[] defined in the contraption-level script. If you clear up the first problem by e.g. renaming the play button to "_play" or "start_loop" or something else distinct then your listener logging prints, but as written it calls itself recursively instead of calling the built-in play[] function.
It is possible for a function which overrides a builtin to use "send" to invoke the "next-higher up definition", like so:
on play x do show["invoked wrapper!"] send play[x] end
Sometimes this can be a handy way to bodge in extra behavior or logging without modifying existing scripts.
...but you can also sidestep this issue entirely by using distinct names for your widgets and functions.
Does that make sense?