Textbox functions (commenting)

Name and comment some textbox-related functions.