Uninitialized memory and leaks that valgrind was complaining about

Fixed a couple of issues as I was running my program through valgrind that were causing memory leaks/uses of uninitialized memory. I've also made the FreeType library handle auto-destruct when it's no longer needed.