Assorted fixes for Internet Explorer 10 + 11

* Update detection code to correctly tag Internet Explorer 11 as IE
* Prevent focus wars (especially prevalent in Internet Explorer)