Tbeam

Hi Ben,

this is the current state of the tbeam implementation. Unfortunately you cannot automatically merge it because
I messed it up a little. The significant changes you asked for in your mail are all in the latest commit
from today.