TDISP cleanup

Seperate High level and low level code better
Implement tdispControl
Cleanup