Fixed leaks

That I caused. Remaining are Xlib's
Use C++ IO reading funcs for font loading