renamed setfont to initfont, getcolor to initcolor