Add test to cabal.  Tweak test to change num threads on the command line.  Add DEVLOG.  Identified problem with asynchronous exceptions.