Fixing the QTCreator project so it uses threading, now compiles in g++ in linux. Fixing includes to work with linux.