minor fixes + preview page progress + html code page