key event message pump clean -> to test