Update lxml requirement to match TTK
Cleanup: removed dead code