Correct use of GetAsyncKeyState

This gets rid of several weird issues in the debugger, most importantly the searches seemingly randomly not working.