managed to make jinja and latex play nicely together (with some awful hacks), will clean up soon. added some more specific exception handling
adding TODO messages about urgent changes I'll be making soon