TDISP updates and cleanup

Seperate High level and low level code better
Implement tdispControl
Implement Optional multithread support
Cleanup