better error reporting; fix bug with arrow pressing; longer timeout