Some refurbishing & proper naming scheme.
Separate thread for checking parents.