sort of solved a lot of my issues with segfaults, but now my logger is broken, and I have a new segfault.