Reformat error messages from presentation compiler

Printing stack traces directly to stdout results in difficult readable
error messages.
Merge pull request #746 from sschaef/reformat-error-message-in-pc

Reformat error messages from presentation compiler