Move getTextImage to ui, slight timing issue can make fonts silly, will fix. Move texture loading to gfx.js. parsepvpstats/parseaistats functions