Switch ninjatune release-event handling to use a list comprehension, remove some lambdas