How to keep track of your threads (a guide)