Game event listeners in the main window moved to lambdas