getkey() now returns immediately if input_thread isn't running (stops event thread from waiting for user input).