Initialize keysym to NoSymbol and simplify.

XwcLookupString does not modify the keysym argument if a KeySym is not
returned. In this case, the KEY_PRESS hook would read uninitialized
data.
Remove useless code.
Add -dockapp option
Do not needlessly scan the same line multiple times in matcher:most_recent.