A bunch of (mostly IE-related) fixes

Please note IE fails to understand "!important" in currentStyle for
custom properties, but we may fail at this in some case too, so the
rule is: no !important please…