Fixed some major memory leaks

TTF_RenderText_Blended allocated new memory every time it was called, so
I had to add the FreeSurface and set the variable to NULL at every
apply_surface call to get it not leaking.