Fix #119 (custom blocks not showing exception messages)

Also now shows an image of the failing block.