added TLTextField class which subclasses NSTextField.