some minor tweaks (include guards, current thread id and qt project file)