Remove custom updateKey
Output more messages for debugging
Output more messages for debugging
Supports Thunderbird 24.

On Tb24, there is no interface "nsIEditorDocShell".