#13: Added better exception tracking.