Proof of concept for session preservation of task IDs.
Implemented saving and restoring of task IDs; fixed some documentation/lint issues