Added a couple compilation error tests and moved run-and-catch functions and prettify-exception functions in to the same files