Added the TNumberField class and added some extra functionality to the
text classes