Remove LambdaCase for QuitEvent detection in the examples