Trailing whitespace
Reset spelling offending count if user doesn't want to blacklist it
Move the spelling corrector undo code to before showing blacklisting dialog

Because showing the dialog change the focus and trigger a reset signal.