LIB:htmllib - some cleanup.