Updated to detect Win8 and IE10 [resolves #2535 and spent 20 minutes on #2535]