add many minor fixes plus .html