Fix warning
No locking and threads for windows
Move some calculation from indev to v6
fix timetaker debug minimum
Fix script locking
Merge remote-tracking branch 'upstream/master' into next

Conflicts:
	src/CMakeLists.txt
Merge remote-tracking branch 'freeminer/next' into freeminer_next