Esperimenting with thread affinity
controller affinity parameter
Assorted fixes