make sprite system use gfx routines, also cleanup
text system code cleanup