Reformat error messages from presentation compiler

Printing stack traces directly to stdout results in difficult readable
error messages.