Tidy more TextFrame related code.

Change-Id: Ic10d762073e74c4d8b1e7c785e56bd341c068598
Reviewed-on: http://gerrit.dmdirc.com/3272
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager