Html & Chm reworked to fix #3 and speed it up #2 (still some work left)