Clean up the abomination that is exceptionhandler.c. I probably made a bug by fixing them somewhere.