fork cleanup [parent -> isParent]
Added runMain and some documentation (Thread)
Renaming and comments (Thread)