Now containing important threading, bug, performance fixes

for a full changelog, see the commits.