Add concurixjs.snapshot function.  Resume program after snapshot.