Problem of g++<version> solved and threading modifications.