Moved shit to g_text.c file.