Updated to latest JEX interface.
Added workflow cancellation closes #12.