Worked on glut_ui's textbox...some progress in cleaning up the code.