Whoops. Make the key event handler actually work.