Added exception handling for the dV simulation thread.

In the faint hope that it might fix a reported crash.