improved game frame + adding typefont support