Tbody mechanism change.

This brings in @Jorshasaur changes from PR #76. I have verified unittests are passing. 

This also closes #78 according to @joetime