better thread distribution, several fixes