Hangs: simple key events

After several key presses the app just hangs.