add safequeue, some tweak about unitframe and font