Got scrolled clicking working, moved some coordinate code into functions, let more keypresses propagate