fixed "wait for keypress" opcode