Document Context class
Better thread support

Implements `thread suspend` and `thread resume` commands