text: Use std::strings for text drawing functions
text: declare loop variables in loop headers