Fix async updatedrawlist
Merge remote-tracking branch 'upstream/master' into next
fix thread_local cache
better drawlist
Fix freebsd build
fix build with thread_local
fix compile with future
Global thread support vars
Small changes from future
Merge remote-tracking branch 'upstream/master' into next
Merge remote-tracking branch 'freeminer/next' into freeminer_next