Move event filter for key events to TextEdit
Add install_event_filter to TextEdit
Remove install_event_filter from main.rb