Fixed bug where backspace would cause navigation in IE 8 on an inline element and after a caret formatting was applied.
Rewrote selection change handler a bit since it didn't work properly on older IE versions.