assorted fixes from my personal fork

These are the warnings and such I was talking about. I was kinda surprised I got stb_truetype.h warning-free too. Feels really clean now.