change keyboard_quit behavior / use SendEvent