Fixed a bunch of memory leaks involving fonts and such.