Restored two days work after crash in valanipa branch. Individual commits are lost.
Revert "Restored two days work after crash in valanipa branch. Individual commits are lost."

This reverts commit 062fb04563aa7f7035048f03a6387052606b5bb0.
Restored two days work after crash in valanipa branch. Individual commits are lost.
Fixed HC4 problems with IE8 quirks