pdInputKeyboard: fix main form accelerators

By limiting keyboard hooking to the absolute bare minimum required by a
control, we should be able to reduce both the weight of our hooking
solution, and misdirected keypresses.