make debugfont non-static and start opengl work