Bigfixes and small functional changes to Tasks/Html lib