Simple threaded keyboard listener