bound theta to [-179, 180], save best particle earlier, release control back to c# env ASAP, fix turnToGivenHeading