display remaining chars for text fields. closes #52