undo thread behavior changes and add html subproject to dependencies.