Fix warning
No locking and threads for windows
Move some calculation from indev to v6
fix timetaker debug minimum
Fix script locking