Rename tdata_realtime.{c,h} to tdata_realtime_expanded.{c,h}
Initialise memory to NULL, and prevent problems with destroying.