Thread implementation is OVER - check for bugs