Better lock profile
Merge remote-tracking branch 'upstream/master' into next

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