Cleaning up c compiler, adding more exceptions, fixing some bugs in pyMDL.