Patched Input Processing

Input did not check if an a key had been registered before trying to
invoke an associated action. Now checks for registration of keys before
invoking actions.