Better fix to IME auto-commit

The original solution (b6bceb8) causes #129. This resolves both problems
by disabling link detection AFTER highlighter is enabled to prevent
flickering during link removal, which seems to be the root cause of #61.

By disabling link detection at the correct location, we can now remove
links as we wish without causing the IME to behave strangely.

Close #129.