Improved basic thread system

Reformatted parts