added docs and fixed bugs in threading_easy