Upgrade Cadence to 0.0.41.

Closes #29.
Remove call to `setImmediate`.

Cadence now provides a trampoline.

Closes #30.