Fixes to support Cinnamon's "old" method of registering and handling
key bindings (but only when the new way fails).  Also added some debug
prints to assist with future compatibility problems.