Remove Platform.exit() call
make arrows etc. work with repeating key events