fixed type errors in loadfont.pi
fixed missing gotostatements