Added glActiveTexture so correct texture unit is bound. Removed deprecated glEnable( GL_TEXTURE_2D )
Added text_buffer_delete