Further code changes for issue #4 - fixed typo
Added debugging code for keyboard shortcut initialization