Actually fixed #4 with a small hack. Eventually this should be examined
more closely.
Fixes #6, the memory leak bug, by manually cloning the Text object.